{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_basic_upload:admin}</h3>
	</div>
	<div class="setform">
		<form class="pzform" action="{url admin/basicupload?act=save}" method="post">
			
			<div class="formgroup">
				<label class="formlabel">{lang allow_upload_size:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="allow_upload_size" name="allow_upload_size" value="$setting['allow_upload_size']"/>
				</div>
				<span class="formhelp">{lang allow_upload_size:admin}</span>
			</div> 
			
			<div class="formgroup">
				<label class="formlabel">{lang allow_upload_type:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="allow_upload_type" name="allow_upload_type" value="$setting['allow_upload_type']"/>
				</div>
				<span class="formhelp">{lang allow_upload_type_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang wftwidth:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="wftwidth" name="wftwidth" value="$setting['wftwidth']"/>
				</div>
				<span class="formhelp">{lang wftwidth_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang largewidth:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="largewidth" name="largewidth" value="$setting['largewidth']"/>
				</div>
				<span class="formhelp">{lang largewidth_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang squarewidth:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="squarewidth" name="squarewidth" value="$setting['squarewidth']"/>
				</div>
				<span class="formhelp">{lang squarewidth_tip:admin}</span>
			</div>
			
			<div class="formgroup hide">
				<label class="formlabel">{lang delete_source:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="delete_source" value="1" {if $setting['delete_source']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="delete_source" value="0" {if !$setting['delete_source']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang delete_source_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allow_max_num:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="allow_max_num" name="allow_max_num" value="$setting['allow_max_num']"/>
				</div>
				<span class="formhelp">{lang allow_max_num_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allow_upload_maxsize:admin}:</label>
				<div class="formcontrol">
					<label>{lang width:admin}:</label>
					<input type="text" class="small" id="upload_image_size_w" name="upload_image_size_w"  value="$setting['upload_image_size_w']"> 
					<label>{lang height:admin}:</label>
               		<input type="text" class="small" id="upload_image_size_h" name="upload_image_size_h" value="$setting['upload_image_size_h']">
				</div>
				<span class="formhelp">{lang allow_upload_maxsize_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang remote_fetch_maxsize:admin}:</label>
				<div class="formcontrol">
					<label>{lang width:admin}:</label>
					<input type="text" class="small" id="fetch_image_size_w" name="fetch_image_size_w"  value="$setting['fetch_image_size_w']"> 
					<label>{lang height:admin}:</label>
               		<input type="text" class="small" id="fetch_image_size_h" name="fetch_image_size_h" value="$setting['fetch_image_size_h']">
				</div>
				<span class="formhelp">{lang remote_fetch_maxsize_tip:admin}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}